package cn.outsourcing.supermarket;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.ConfigurationPropertiesScan;
import org.springframework.context.annotation.ComponentScan;

/**
 * 超市启动类
 *
 * @author gzkemays
 * @since 2021/10/14 21:09
 */
@SpringBootApplication
@ComponentScan(
    basePackages = {
      "cn.outsourcing.supermarket.config",
      "cn.outsourcing.supermarket.controller",
      "cn.outsourcing.supermarket.service",
      "cn.outsourcing.supermarket.common.exception",
      "cn.felord.payment.wechat"
    })
@ConfigurationPropertiesScan(basePackages = {"cn.outsourcing.supermarket.common.properties"})
public class SupermarketApplication {
  public static void main(String[] args) {
    SpringApplication.run(SupermarketApplication.class, args);
  }
}
